Part Number Hot Search : 
JMB388 BCR450 CJ22C 6KE30 M54513 36P15 14150 M78L0
Product Description
Full Text Search
 

To Download S3F49FAX Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  S3F49FAX flash controllers for compact flash / pc card / ide disk reference guide manual help desk sejin, ahn (herlock@sec.samsung.com) sanghun, song (hoontour@samsung.com)
reference guide manual S3F49FAX 1 table of contents 1.1 over view................................................................................................................... ...............................3 1.2 S3F49FAX cont roller f eatures ............................................................................................... ................3 1.2.1 features................................................................................................................. ......................3 1.3 design guide fo r card assembly............................................................................................. ...............4 1.4 compliance test of cards assembled with samsung?s c ontroller.........................................................4 2.1 over view................................................................................................................... ...............................5 2.2 schematics a nd manual files ................................................................................................ .................5 2.3 utility progr am files ...................................................................................................... ..........................6 2.4 setup i/o r ange for system ................................................................................................. ..................6 2.5 how to use utility program ................................................................................................. ....................9 2.5.1 batch f ile feat ures...................................................................................................... ................9 2.5.2 the details of commands .................................................................................................. .........10 2.5.3 comm and form............................................................................................................. ..............11 2.5.4 drive information parameter de finition ................................................................................... ....12 2.5.5 the example code of an initial batch file ................................................................................ ..14 2.5.6 bom (bill of material)................................................................................................... ...............16 2.5.7 vendor un ique command .................................................................................................... .......17 table of tables 1 memory ic select table for various cf -card size.................................................................12 2 parts master list of s3f49f ax compactflash type 1 ca rd..................................................15 3 vendor unique comm and .......................................................................................................1 6
reference guide manual S3F49FAX 2 1 introduction 1.1 overview this document describes application information required to assemble pc-ata, compactflash card and true-ide hard disk with samsung?s "nand flash memory" and "na nd flash controllers". samsung manufactures both the "nand flash memory" and "nand flash controllers". unt il now, the nand flash of density ranging 16mb to 4gb is available. for more detailed featur es and specifications for nand flash memory, please refer to the current data sheets and technical note parts. the nand flash controllers support 128mb, 256mb, 512mb and 1gb, 2gb, 4gb nand flash memory made by samsung. S3F49FAX is under mass production. (x means a version number for firmware and hardware revision) 1.2 S3F49FAX controller features 1.2.1 features ? pc card-ata / true ide / compactf lash compatible host interface. ? ecc function (error correcti on algorithm): 2bit correction ? interface voltage: 3.0v to 5.5v ? operating temperature : -25 to 80 c ? efficient and powerful arm7tdmi cpu core ? support 128 / 256 / 512mbit, 1gbit, 2gbit, 4gbit nand flash memory made by samsung nand flash density min. / max. capacity (number of flash) 128m / 256m / 512m / 1g bit (512byte/page) 16mb / 1 g byte (up to 8ea) 1g / 2g / 4g bit (2048byte/page) 256mb / 4 g byte (up to 8ea) ? interface support controller part nubmer host interface S3F49FAXzz compactflash S3F49FAXza usb 1.1
reference guide manual S3F49FAX 3 1.3 design guide for card assembly the following lists are application information requir ed to assemble cards. samsung supports items described below in order to help with card assembly. ? board schematics and pcb gerber file: compact flash card, true-ide disk ? data sheet: S3F49FAX ? initialization utility program ? vendor unique command description & cis/idi information ? compatibility test results (digital still ca mera, desk-top/handheld pc, card reader etc.) 1.4 compliance test of cards assembl ed with samsung?s controller testmetrix has been selected as the official provider of certification compliance testers for the compact flash association. cfa members can either purchase t he compliance tester, or receive an upgrade for an existing tester if already purchased. samsung?s ata / compact flas h production test library has been already completed by testmetrix. manufacturers have to purchase the production test library at testmetrix. (http://www.testmetrix.com) a general compliance test program is offered for regist ered customer by testmetrix. if customer has no user name and password, please contact with us. customer has to use the latest compliance test program updated by testmetrix.
reference guide manual S3F49FAX 4 2 card utility program 2.1 overview this utility program is the flash initia lization program provided by samsung. in order to process the initialization program, manufacturer should use batch file of each densi ty made by samsung. the batch file consists of ata and vendor unique command. samsung provides the following files to manufacturer. note if customer wants to test assembled card, plea se test it under native-dos with smartdrv. 2.2 schematics and manual files ? s3f49fa_cfcard_xx.pdf: cf card schematic (x means that version number for compactflash card) ? s3f49fa_ide_xx. pdf: ide disk schematic (x means that version number for ide interface like hdd) ? s3f49fa_specifcation _xx. pd f: data sheet for S3F49FAX (x means that version number for firmware revision)
reference guide manual S3F49FAX 5 2.3 utility program files users should create a new dire ctory and copy all the files to this new directory. vcinit.c : vcinit source file firebat.c : firebat source file setcmd.c : setcmd source file longsec.c : longsec source file getopt.c : getopt source file ioaddr.h : input/output address header file firebat.h : frebat header file getopt.h : getopt header file rwtest.c : rwtest source file chs.dat : it contains chs value that user defined. vendor.dat : it contains vendor / se rial information that user defined. 2.4 setup i/o range for system first of all, customer should search i/o range used on customer system. in case of using the cardsoft program made by systemsoft co., customer can check i/o ran ge using "cardinfo" command under dos environment. if customer finds your system i/o range, for exam ple, 0x380-0x38f, change header file as follows: (in ioaddr.h) #define command_port 0x387 #define feature_port 0x381 #define sector_count_port 0x382 #define sector_num_port 0x383 #define cylinder_low_port 0x384 #define cylinder_high_port 0x385 #define drive_head_port 0x386 #define error_port 0x381 #define status_port 0x387 #define data_port 0x380
reference guide manual S3F49FAX 6 3. recompile the source file each by each by using tu rbo-c or borland-c compiler. and then customer will get setcmd.exe, and longsec.exe. to distinguish used i/o range address in the batch file, rename execution files as follows: setcmd.exe ===> set380.exe longsec.exe ===> long380.exe vcinit.exe ===> vc380.exe firebat.exe ===> fire380.exe if i/o range was 0x270, customer can re name the execution files as follows: setcmd.exe ===> set270.exe longsec.exe ===> long270.exe vcinit.exe ===> vc270.exe firebat.exe ===> fire270.exe setcmd function: setcmd execution file per forms the ata commands and vendor unique commands. longsec function: longsec executi on file performs the same functions of setcmd file except long byte(528bytes) access. vcinit function: vcinit execution file performs that it initialize the cf card and write cis data. firebat function: firebat execution file perfo rms that it update the firmware of controller 4. now, customer can use these commands as shown in the following format: (setcmd, longsec) command [definition file] * command ~ setcmd or longsec * [definition file] ~ this is option. ex) case1: to read sector c:> set380 00 01 01 00 00 e0 20 sector's data is displayed to the screen case2: to execute initial drive parameter command c:> set380 00 20 00 00 00 02 91 case3: to write sector as all "ff" c:> set380 00 01 01 00 00 e0 30 ff case4: to read physical sector from 3rd chip, 0 block, 1 page c:> long380 f0 c0 02 01 00 00 ef
reference guide manual S3F49FAX 7 5. vcinit has one option parameter. vcinit /c /c : it is necessary to executing this operation initial mode : 0 ? no more check 1 ? erase check 2 ? blank check 3 ? pattern check 6. firebat program has one option parameter. firebat /f /f : it is necessary to execute this operation image file: file name of firmware image 7. rwtest program does not have the option parameter.
reference guide manual S3F49FAX 8 2.5 how to use utility program 2.5.1 batch file features the compact flash card and ide disk need initialization before they are used for the first time. this process requires the several special information. customer shoul d set the appropriate parameters in the batch file for different density and the number of chips for example, the initialization of the compac t flash card consists of following process. 1) flash memory initialization and cis/idi information amendment 2) write/read/verify the sector in cf card 3) mbr/pbr write 4) logical formatting for example, the initialization of the id e disk consists of following process. 1) flash memory initialization and cis/idi information amendment 2) write/read/verify the sector in cf card 3) after rebooting on your pc, try to execute fdisk 4) logical formatting a batch file is used for the consecutive execution of th e above process. this batch file consists of several command according to the above 1) ~ 5) sequences. the main commands used in a batch file, are ? vcinit ?, ? rwtest ?, ? atainit ? and ? format ?. ?vcinit?, ?rwtest? programs are the utility commands whic h supported by samsung electronics. when customer wants to use these commands, the modificati ons of the command arguments and the definition file are required. ?atainit? is the special command that is giv en by pc card reader (pcmcia type) maker. ?format? is dos command.
reference guide manual S3F49FAX 9 2.5.2 the details of commands the main commands need to parameters input. the vcinit commands require 2 parameters input. following source files are the batch files to initialize the cf card automatically vcinit /c 2 1) flash memory initialization cis/idi information amendment rwtest.exe 2) test the logical sector in the cf card atainit.exe d: /v 3) write the mbr/pbr format d: 4) logical dos format caution to initialize an ide disk based on these platforms, customer should remove two lines (? atainit .exe d: /v? and ? format d:?) from the batch file of compact flash card above. that is, customer should not use cardsoft program made by systemsoft co.. an init ialization method for ide disk is as follows. 1. setting of hardware: - connect to primary master or slave - use dos diskette for ide drive system booting - try to store source, execution and batch files into dos diskette 2. execute power-off or software reset (ctrl+alt+delete) 3. execute an appropriate batch file according to the disk capacity 4. after rebooting on pc, try to execute fdisk and logical dos format
reference guide manual S3F49FAX 10 2.5.3 command form [form] setcmd [form ] longsec feature register set value. used when the host sets a particular function to the card. available only for writing data and not for reading. sector count register set value. the host sets the number of sectors to transfer in this register. the default setting is ?01h? . the number of sectors are 256 when ?00h? is set. sector number register set value. sets the number of the sector where transfer start. cylinder low register set value. sets the lower 8bits of the number of the cylinder where the sector transfer starts. cylinder high register set value. sets the upper 8bits of the number of the cylinder where the sector transfer starts. drive head register set value. sets the lba,drv and head number . w hen lba=0,the cylinder head sector(chs) mode is selected. the drv bit is used for select ing the master or slave configuration. the card can be accessed when the drv# bit of the socket and copy register is equal to this bit. bit3 to bit0 are used to set the number of the head where sector transfer starts. command register set value.
reference guide manual S3F49FAX 11 2.5.4 drive information parameter definition you can change the chs value by editing ?chs.dat? file. th is is standard values of cylinder, head, sector in S3F49FAX?s card. [ chs.dat ] # vendor defined chs values #size cyl head sector 16mb 227 4 32 32mb 473 4 32 64mb 243 16 32 128mb 490 16 32 256mb 985 16 32 512mb 999 16 63 1024mb 1999 16 63 2048mb 3998 16 63 4096mb 7996 16 63
reference guide manual S3F49FAX 12 table 1. memory ic select table for various cf-card size card size number of flash memory k9f2808 k9f5608 k9f1208 k9k1g08 k9k2g08 k9f4g08 k9f1g08 k9f2g08 ? 16mb 1 ? ? ? ? ? 32mb 2 1 ? ? ? ? 64mb 4 2 1 ? ? ? 128mb 8 4 2 1 ? ? 256mb ? 8 4 2 1 ? 512mb ? ? 8 4 2 1 1gb ? ? ? 8 4 2 2gb ? ? ? ? ? 4 4gb ? ? ? ? ? 8 note: ? : we don't support.
reference guide manual S3F49FAX 13 2.5.5 the example code of an initial batch file for your understanding, the exam ple codes of the initial batch file and the definition file, are shown in [example 1] and [example 2] and [example 3]. when you have difficu lty in modifying file, refer to following code. [example 1] contents of the initializing batch file rem --------------------------------------------- rem initialize cf card (erase check) rem --------------------------------------------- vcinit.exe /c 2 :rwtest rem --------------------------------------------- rem write/read/verify the cf card rem --------------------------------------------- rwtest.exe :makembr rem --------------------------------------------- rem make mbr/pbr in the cf card rem --------------------------------------------- atainit d: /v rem --------------------------------------------- rem format cf card rem --------------------------------------------- format d:
reference guide manual S3F49FAX 14 [example 2] contents of th e chs data file 16mb 227 4 32 32mb 473 4 32 64mb 243 16 32 128mb 490 16 32 256mb 985 16 32 512mb 999 16 63 1024mb 1999 16 63 2048mb 3998 16 63 4096mb 7996 16 63 [example 3] contents of the vendor data file cis_manufacture samsung cis_product_name vancouver idi_serial_num 97419812 idi_model_num samsung c/f(mby2) idi_version rev 5.0
reference guide manual S3F49FAX 15 2.5.6 bom (bill of material) this section lists the bill of material for the S3F49FAX controll er. the bom for compactflash cards will vary depending on the number of flash memory used. please refer to the cf card schematic recommended . table 2. parts master list of s3 f49fax compactflash type 1 card item reference designator quantity description 1 j1 1 50-pin connector 2 u6 1 voltage resulator - part number : ame8801aeev - maker : ame - output : 300ma, 3.3v 3 u5 1 S3F49FAX controller, 100tqfp 4 u1, u2, u3, u4 4 flash memory 5 r1, r3 2 resistor 10k 6 r4 1 resistor 1.5m 7 r7 1 resistor 3.9m 8 c6, c8, c12, c13, c14, c15, c17, c18, c21, c24, c25 12 capacitor 0.1uf 9 c7, c26 2 capacitor 10uf 10 c16 1 capacitor 0.47uf
reference guide manual S3F49FAX 16 2.5.7 vendor unique command S3F49FAX supports the eight vendor unique commands with standard ata commands. table 3 summarizes vendor unique command set. table 3. vendor unique command command name command code description physical read c0 read from physical page in flash memory physical write c1 write data to physical page in flash memory physical block erase c2 erase physical block in flash memory flash initialize c3 execute to initialize the flash memory get flash chip information c4 get flash information in card (number of block / chips) get firmware version c5 get internal firmware version get bad block information c6 get bad block number in card read flash id c8 get flash id information update firmware c9 update the firmware in S3F49FAX [ the form of vendor command ] - feature register : always '0xf0', result value - sector count register : command input, result value - sector number register : input parameter, result value - cylinder low register : input parameter, result value - cylinder high register : input parameter, result value - drive head register : input parameter, result value - command register : always '0xef' (set feature command)
reference guide manual S3F49FAX 17 (1) read physical page command 0xc0 input parameter - physical block address = (drive_head << 16) + (cylinder_high << 8) + cylinder_low - physical page address in 512b page = sector_number - physical page address in 2kb page = sector_number / 4 result value - error code = setor_number command flow - write read command - wait drq - receive 528 bytes - wait ready - check error code caution if error code isn?t 0x00, this command fail. (2) write physical page command 0xc1 input parameter - physical block address = (drive_head << 16) + (cylinder_high << 8) + cylinder_low - physical page address in 512b page = sector_number - physical page address in 2kb page = sector_number / 4 result value - error code = setor_number command flow - write write command - wait drq - send 528 bytes - wait ready - check error code caution if error code isn?t 0x00, this command fail. (3) erase physical block command 0xc2 input parameter - physical block address = (drive_head << 16) + (cylinder_high << 8) + cylinder_low result value - error code = setor_number command flow - write erase command - wait ready - check error code caution if error code isn?t 0x00, this command fail.
reference guide manual S3F49FAX 18 (4) initialize the card command 0xc3 input parameter none result value - the number of bad blocks = (cylinder_high << 8) + cylinder_low - error code = setor_number command flow - write erase command - wait drq - send initial para meter (512 bytes) - wait drq - send cis data (512 bytes) - wait drq - send idi data (512 bytes) - wait ready - check error code caution if error code isn?t 0x00, this command fail. (5) get the information of nand flash memory command 0xc4 input parameter none result value - page number per block = sector_num - block number per chip = (cylinder_high << 8) + cylinder_low - chip number of the card = sector_count command flow - write command - wait ready - check the result value caution none (6) get the firmware version of controller command 0xc5 input parameter none result value - firmware major version : cylinder_high - firmware minor version : cylinder_low command flow - write command - wait ready - check the result value caution none
reference guide manual S3F49FAX 19 (7) gat bad block information in card command 0xc6 input parameter none result value the number of bad blocks = (cylinder_high << 8) + cylinder_low command flow - write command - wait ready - check the result value caution none (8) read the id data of nand flash memory command 0xc8 input parameter none result value - maker code = cylinder_high - device code = cylinder_low - is multi plane supported = drive_head - number of chips = sector_number - firmware major version = sector_count - firmware minor version = feature command flow - write command - wait ready - check the result value caution none (9) update the firmware in controller. command 0xc9 input parameter the sector number of firmware = cylinder_low result value error code = setor_number command flow - write command - wait drq - send the data of firmware (loop) - wait ready - check the error code caution if error code isn?t 0x00, this command fail.
reference guide manual S3F49FAX 20 notes 2003/12/22 modify the explanation of vendor command (physical read/write/erase command) 2003/01/27 adjust chs(cylinder, head, sect or) values and correct misprints. 2004/02/16 record host interface support per controller part number.


▲Up To Search▲   

 
Price & Availability of S3F49FAX

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X